import request from '@/utils/request'

// 查询广告记录列表
export function taskList(query) {
  return request({
    url: '/advert/list',
    method: 'get',
    params: query,
  })
}

// 新增昨日总收益
export function taskSave(data) {
  return request({
    url: '/advert/grant',
    method: 'post',
    data: data
  })
}

// 收入录入列表
export function moneyInList(query) {
  return request({
    url: '/advert/entryRecord',
    method: 'get',
    params: query,
  })
}
